package com.ruoyi.gift.service.impl;


import com.ruoyi.common.core.domain.entity.SysMenu;

import com.ruoyi.gift.domain.GiftRecord;
import com.ruoyi.gift.mapper.GiftRecordMapper;
import com.ruoyi.gift.service.IGiftRecordService;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


/**
 * 菜单 业务层处理
 *
 * @author ruoyi
 */
@Service

public class GiftRecordServiceImpl implements IGiftRecordService {

    @Resource
    private GiftRecordMapper giftRecordMapper;

    /**
     * 新增保存礼金信息
     *
     * @param giftRecord 礼金信息
     * @return 结果
     */

    @Override
    public int insertGift(GiftRecord giftRecord) {
        return giftRecordMapper.insertGift(giftRecord);
    }

    @Override
    public List<GiftRecord> selectGiftRecordList(GiftRecord giftRecord) {
        return giftRecordMapper.selectGiftRecordList(giftRecord);
    }


}
